#ifndef _DAGGER_H_
#define _DAGGER_H_

#include "Object.h"

#define DRAGGER_VX			0.3 

class Dagger : public Object
{
	int countFrameRod;
	bool isLeft;

public:
	/*
	 *	get/set properties
	 */
	OBJECT_TYPE getObjectType();

	/*
	 *	Contructor/destructor
	 */
	Dagger(LPDIRECT3DDEVICE9 d3ddv, LPDIRECT3DSURFACE9 BackBuffer, LPD3DXSPRITE SpriteHandler, float x, float y, bool isLeft);
	~Dagger();

	
	/*
	 *	Method
	 */
	 
	void update(list<Object*>* obj_list, DxInput* input, float TPF);
	//void updatePosition(list<Object*>* obj_list, DxInput* input, float TPF, int pox_x, int pos_y);

	//Castlevania Dagger
	void attack(list<Object*>* obj_list, float time);

	void render(int cameraX, int cameraY);
	void changeState(int state);
};

#endif